//
//  MBProgressHUD+Category.h
//  NewMCCH
//
//  Created by 车浩 on 2017/3/23.
//  Copyright © 2017年 车浩. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

@interface MBProgressHUD (Category)

+ (void)showSuccess:(NSString *)success;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;
    
+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)view;
    
+ (MBProgressHUD *)showMessage:(NSString *)message;
+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;
    
+ (void)hideHUD;
+ (void)hideHUDForView:(UIView *)view;
    
@end
